syntax error in ffapi json