Fixed em-api processor's playtotv-define template extension
Catching JSON parse exception in em-api processor to provide more clear rejection