Javascript Json Add Dynamically Typed Meaning