Fixes #873 json BIF returns literals for colours

json bif now parses colors as RGBA nodes instead of Literals. Closes #873.