Updated opal record toArray handler

Signed-off-by: Tom Wright <tom@inflatablecookie.com>