input validate to json types (numbers, strings, proplists,boolean,null)