Adds avmplus encoding switching and strict array for AMF0