mapJSONPropertiesToS4Slots function

Map JSON properties to S4 slots.