Decoding objects as assoc arrays