Value type parsing for config