Json.NET bug fixed, code cleanup

https://github.com/XForms/Xamarin-Forms-Labs/issues/93 fixed. Code
cleaned up to fit into new StyleCop rules.