stn_meta_to_json bug fix 2