improved parsing og object literals

add fail() after createExpression in case no exception is thrown