Receiving a Malformed JSON Error When Using API Doc