utils: make options argument to serialize_profile() optional
Follow up to !138 (merged)
Rather than passing around empty dictionaries, make the argument optional. Note that default arguments in python are mutable and are the same for every invocation of a method, hence the use of None as a default argument and the check for that in the method.
Signed-off-by: Steve Beattie steve.beattie@canonical.com