Fix support for deserializing optional parameters
Merge pull request #19 from bodylabs/fix_deserialize

Fix support for deserializing optional parameters