Add value names
Add LEN() macro for getting array length
Add implementation of ws_value_type_from_value_name()
Add code for parsing the map key for direct argument values

This patch includes the new states.