using serialization context to determine how to serialize instead of passing asMap
updated unit tests
since we get the type in serializable property we don't need to get it here again.
fixed issues with nullables
renamed method so unity would not be confused
only serialize properties with getters and setters
Merge pull request #23 from scopely/unity-fixes

Unity fixes