strip whitespaces from @:js metadata in optimization test macro
do not inline structures which have invalid field names (closes #2475)