Parser fixes for empty arrays/structs (closes #5)