API: Added getFields, made root_node optional in _getDecodedJson